// vim:ft=javascript
// $Id$

ARG_ENABLE('isapi', 'Build ISAPI version of PHP', 'no');

if (PHP_ISAPI == "yes") {
	if (PHP_ZTS == "no") {
		WARNING("ISAPI module requires an --enable-zts build of PHP");
	} else {
		SAPI('isapi', 'php5isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP5ISAPI_EXPORTS');
		ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php5isapi.def');
	}
}
